package com.jhhc.FloodForecast.Calculate.Forecast.ImplService;

import com.jhhc.FloodForecast.Calculate.Forecast.Dao.BDMS_CALCULATESCHEME_MMapper;
import com.jhhc.FloodForecast.Calculate.Forecast.Pojo.BDMS_CALCULATESCHEME_M;
import com.jhhc.FloodForecast.Calculate.Forecast.Service.BDMS_CALCULATESCHEME_MService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class BDMS_CALCULATESCHEME_MServiceImpl implements BDMS_CALCULATESCHEME_MService {

    @Autowired
    private BDMS_CALCULATESCHEME_MMapper BDMS_CALCULATESCHEME_MMapper;

    @Override
    public List<BDMS_CALCULATESCHEME_M> select(Integer ProjectId, String UserID, String ForecastSchemeID) {
        return BDMS_CALCULATESCHEME_MMapper.select(ProjectId, UserID, ForecastSchemeID);
    }

    @Override
    public List<BDMS_CALCULATESCHEME_M> getCalSchemeInfos(Integer ProjectId, String UserID, String ForecastSchemeID, String StartTM, String EndTM, boolean IsCalculateTM, String IsSave, String IsPublish) {
        return BDMS_CALCULATESCHEME_MMapper.getCalSchemeInfos(ProjectId, UserID, ForecastSchemeID, IsCalculateTM, StartTM, EndTM, IsSave, IsPublish);
    }

}
